import main from '@/view/main'

export default {
    path: '/testQuestions',
    meta: {
        title: '试题管理'
    },
    component: main,
    children: [
        {
            path: '',
            name: 'testQuestionsList',
            meta: {
                title: '试题管理'
            },
            component: () => import('./questions/list')
        },
        {
            path: 'sort',
            name: 'testQuestionsSort',
            meta: {
                title: '新建分类'
            },
            component: () => import('./questions-sort/list')
        },
        {
            path: 'export',
            name: 'testQuestionsExport',
            meta: {
                title: '导入试题'
            },
            component: () => import('./questions/export')
        },
        {
            path: 'add',
            name: 'testQuestionsAdd',
            meta: {
                title: '新建试题'
            },
            component: () => import('./questions/add')
        },
        {
            path: ':id',
            name: 'testQuestionsEdit',
            meta: {
                title: '修改试题'
            },
            component: () => import('./questions/edit')
        }
    ]
}
